<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>按钮管理</title>
    <link rel="stylesheet" href="/static/component/pear/css/pear.css"/>
    <link rel="stylesheet" href="/static/component/markdown/editor/editormd.min.css" />
    <script src="/static/component/layui/layui.js"></script>
    <script src="/static/component/pear/pear.js"></script>
    <script src="/static/component/pear/module/ruinuo/sortable.js"></script>
    <script src="/static/component/pear/module/ruinuo/xm-select.js"></script>
</head>
<body>

<div class="view_body"></div>
<script type="text/html" id="view_body_data">
    <form class="layui-form" action="">
        <div class="mainBox ruinuo_box {{= form_config.form_label}}">
            <div class="main-container layui-row layui-col-space10 label_con">
                <fieldset class="design-box layui-elem-field layui-field-title layui-col-xs12"><legend class="tips_legend">基础配置</legend></fieldset>
<div class="design-box layui-col-xs12 layui-col-md12 mode_id_box {{#  if(layui.engine_form.PowerField('mode_id')==1){ }}form_disabled{{#  } }}">
<label class="layui-form-label layui-form-item-required">所属模块</label>
<div class="layui-input-block " data_tag="select" data_source="mode_list">
<select name="mode_id" lay-filter="select_filter" lay-search=""><option value="">请选择</option>
{{- layui.engine_form.SelectOption(d.source.mode_list.rows,d.detail.mode_id)}}</select>
</div>
</div>
<div class="design-box layui-col-xs12 layui-col-md12 title_box {{#  if(layui.engine_form.PowerField('title')==1){ }}form_disabled{{#  } }}">
<label class="layui-form-label layui-form-item-required">按钮名称</label>
<div class="layui-input-block " data_tag="input" data_source="">
<input  name="title" id="focus_7043_1713181342705_44147" type="text" lay-tag="input" autocomplete="off"  value="{{= d.detail.title}}" class="layui-input">
</div>
</div>
<div class="design-box layui-col-xs12 layui-col-md12 icon_box {{#  if(layui.engine_form.PowerField('icon')==1){ }}form_disabled{{#  } }}">
<label class="layui-form-label">按钮图标</label>
<div class="layui-input-block " data_tag="icon" data_source="">
<input  name="icon" id="focus_95cb_1713181549860_43267" type="hidden" readonly lay-tag="icon" autocomplete="off"  value="{{= d.detail.icon}}" class="layui-input">
</div>
</div>
<div class="design-box layui-col-xs12 layui-col-md12 app_num_box {{#  if(layui.engine_form.PowerField('app_num')==1){ }}form_disabled{{#  } }}">
<label class="layui-form-label layui-form-item-required">应用编码</label>
<div class="layui-input-block " data_tag="input" data_source="">
<input  name="app_num" id="focus_252d_1713356767927_58682" type="text" lay-tag="input" autocomplete="off"  value="{{= d.detail.app_num}}" class="layui-input">
</div>
</div>
<div class="design-box layui-col-xs12 layui-col-md12 mode_num_box {{#  if(layui.engine_form.PowerField('mode_num')==1){ }}form_disabled{{#  } }}">
<label class="layui-form-label layui-form-item-required">模块编码</label>
<div class="layui-input-block " data_tag="input" data_source="">
<input  name="mode_num" id="focus_6912_1713356765663_18924" type="text" lay-tag="input" autocomplete="off"  value="{{= d.detail.mode_num}}" class="layui-input">
</div>
</div>
<div class="design-box layui-col-xs12 layui-col-md12 action_box {{#  if(layui.engine_form.PowerField('action')==1){ }}form_disabled{{#  } }}">
<label class="layui-form-label layui-form-item-required">方法名</label>
<div class="layui-input-block " data_tag="input" data_source="">
<input  name="action" id="focus_144f_1713181468055_92095" type="text" lay-tag="input" autocomplete="off"  value="{{= d.detail.action}}" class="layui-input">
</div>
</div>
<div class="design-box layui-col-xs12 layui-col-md12 query_box {{#  if(layui.engine_form.PowerField('query')==1){ }}form_disabled{{#  } }}">
<label class="layui-form-label">参数</label>
<div class="layui-input-block " data_tag="input" data_source="">
<input  name="query" id="focus_68d1_1713343708465_34785" type="text" lay-tag="input" autocomplete="off"  value="{{= d.detail.query}}" class="layui-input">
</div>
</div>
<div class="design-box layui-col-xs12 layui-col-md12 where_box {{#  if(layui.engine_form.PowerField('where')==1){ }}form_disabled{{#  } }}">
<label class="layui-form-label">显示条件</label>
<div class="layui-input-block " data_tag="input" data_source="">
<input  name="where" id="focus_8cd6_1713356993695_97632" type="text" lay-tag="input" autocomplete="off"  value="{{= d.detail.where}}" class="layui-input">
</div>
</div>
<fieldset class="design-box layui-elem-field layui-field-title layui-col-xs12"><legend class="tips_legend">高级配置</legend></fieldset>
<div class="design-box layui-col-xs12 layui-col-md12 position_box {{#  if(layui.engine_form.PowerField('position')==1){ }}form_disabled{{#  } }}">
<label class="layui-form-label layui-form-item-required">按钮位置</label>
<div class="layui-input-block " data_tag="select" data_source="button_position">
<select name="position" lay-filter="select_filter" lay-search=""><option value="">请选择</option>
{{- layui.engine_form.SelectOption(d.source.button_position.rows,d.detail.position)}}</select>
</div>
</div>
<div class="design-box layui-col-xs12 layui-col-md12 node_box {{#  if(layui.engine_form.PowerField('node')==1){ }}form_disabled{{#  } }}">
<label class="layui-form-label layui-form-item-required">按钮节点</label>
<div class="layui-input-block " data_tag="select" data_source="button_node">
<select name="node" lay-filter="select_filter" lay-search=""><option value="">请选择</option>
{{- layui.engine_form.SelectOption(d.source.button_node.rows,d.detail.node)}}</select>
</div>
</div>
<div class="design-box layui-col-xs12 layui-col-md12 btn_class_box {{#  if(layui.engine_form.PowerField('btn_class')==1){ }}form_disabled{{#  } }}">
<label class="layui-form-label layui-form-item-required">按钮样式</label>
<div class="layui-input-block " data_tag="select" data_source="btn_theme">
<select name="btn_class" lay-filter="select_filter" lay-search=""><option value="">请选择</option>
{{- layui.engine_form.SelectOption(d.source.btn_theme.rows,d.detail.btn_class)}}</select>
</div>
</div>
<div class="design-box layui-col-xs12 layui-col-md12 type_box {{#  if(layui.engine_form.PowerField('type')==1){ }}form_disabled{{#  } }}">
<label class="layui-form-label layui-form-item-required">打开方式</label>
<div class="layui-input-block " data_tag="select" data_source="button_type">
<select name="type" lay-filter="select_filter" lay-search=""><option value="">请选择</option>
{{- layui.engine_form.SelectOption(d.source.button_type.rows,d.detail.type)}}</select>
</div>
</div>
<div class="design-box layui-col-xs12 layui-col-md12 width_box {{#  if(layui.engine_form.PowerField('width')==1){ }}form_disabled{{#  } }}">
<label class="layui-form-label">宽</label>
<div class="layui-input-block " data_tag="input" data_source="">
<input  name="width" id="focus_863a_1713181456163_54233" type="text" lay-tag="input" autocomplete="off"  value="{{= d.detail.width}}" class="layui-input">
</div>
</div>
<div class="design-box layui-col-xs12 layui-col-md12 height_box {{#  if(layui.engine_form.PowerField('height')==1){ }}form_disabled{{#  } }}">
<label class="layui-form-label">高</label>
<div class="layui-input-block " data_tag="input" data_source="">
<input  name="height" id="focus_7b3d_1713181457368_65392" type="text" lay-tag="input" autocomplete="off"  value="{{= d.detail.height}}" class="layui-input">
</div>
</div>
<div class="design-box layui-col-xs12 layui-col-md12 sort_box {{#  if(layui.engine_form.PowerField('sort')==1){ }}form_disabled{{#  } }}">
<label class="layui-form-label layui-form-item-required">排序</label>
<div class="layui-input-block " data_tag="input" data_source="">
<input  name="sort" id="focus_15f5_1713181559290_37362" type="text" lay-tag="input" autocomplete="off"  value="{{= d.detail.sort}}" class="layui-input">
</div>
</div>

            </div>
        </div>
        <div class="bottom">
            <div class="ruinuo-button-con">
                <button type="button" class="pear-btn pear-btn-primary" onclick="SendForm()">
                    <i class="layui-icon layui-icon-ok"></i>提交
                </button>
                <button type="reset" class="pear-btn">
                    <i class="layui-icon layui-icon-refresh"></i>重置
                </button>
            </div>
        </div>
    </form>
</script>
<script>

    function FormBind()
    {
        layui.engine_form.BindIcon('95cb_1713181549860_43267');

    }
</script>
<script src="/static/js/ruinuo/button/config.js?t={:time()}"></script>
<script src="/static/component/markdown/editor/editormd.min.js"></script>
<script src="/static/js/ruinuo/button/form.js?t={:time()}"></script>
<script src="/static/component/pear/module/jQuery.print.js"></script>
</body>
</html>